package cn.com.zj.rpc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.List;
import java.util.Map;

/**
 * @ClassName ServerAddress
 * @Description 服务端地址配置类
 * @Author ZikZ227412
 * @DATE 2021/12/10 15:36
 * @Version 1.0
 */
@Data
@Configuration
@ConfigurationProperties(prefix ="server")
@PropertySource("classpath:my-rpc-client.properties")
public class ServerAddressConfig {


    private List<Map> lists;
}
